package com.hotel.meals.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hotel.common.param.Cart;
import com.hotel.common.param.GetFood;
import com.hotel.meals.model.req.CartReq;
import com.hotel.user.entity.CartItem;
import com.hotel.user.entity.ResponseDTO;
import org.springframework.web.bind.annotation.RequestBody;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author KK
 * @since 2024-06-19
 */
public interface CartItemService extends IService<CartItem> {

    ResponseDTO<List<CartItem>> checkout(Cart cart, HttpServletRequest request);
}
